@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,400;0,500;1,400&display=swap');

@media only screen and (min-width: 2201px) { body { max-width: 1290px; } #msg { width: 960px; } }
@media only screen and (max-width: 2200px) { body { max-width: 1290px; } #msg { width: 960px; } }
@media only screen and (max-width: 1900px) { body { max-width: 1290px; } #msg { width: 960px; } }
@media only screen and (max-width: 1700px) { body { max-width: 1290px; } #msg { width: 960px; } }
@media only screen and (max-width: 1500px) { body { max-width: 1290px; } #msg { width: 960px; } }
@media only screen and (max-width: 1300px) { body { max-width: 1090px; } #msg { width: 780px; } }
@media only screen and (max-width: 1100px) { body { max-width: 890px; } #msg { width: 600px; } }
@media only screen and (max-width: 900px) { body { max-width: 800px; } #msg { width: 520px; } }
@media only screen and (max-width: 800px) { body { max-width: 700px; } #msg { width: 430px; } }
@media only screen and (max-width: 700px) { body { max-width: 600px; } #msg { width: 340px; } }
@media only screen and (max-width: 600px) { body { max-width: 500px; } #msg { width: 240px; } }
/* small windows and phones */
@media only screen and (max-width: 500px) { body { max-width: 450px; } #msg { width: 230px; } }
@media only screen and (max-width: 400px) { body { max-width: 350px; } #msg { width: 170px; } }

html {
	font-family: "DM Mono", Arial, sans-serif;
    padding: 12px;
    letter-spacing: -.75px;
	font-size: 14px;
	background-color: #eeeeee;
    color: #222222;
}

body {
	margin: 0 auto;
    padding: 4px;
	background-color: #dddddd;
    border: solid 1px #cccccc;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
}

.info {
	padding: 6px 6px 10px 6px;
	font-size: 18px;
	text-align: center;
}

a {
	color: #0080ff;
	text-decoration: none;
}

a:hover {
	color: #0099ff;
	text-decoration: underline;
}

input, button, select, textarea{
	background-color: #d2d2d2;
	border: solid 1px #cccccc;
	outline: none;
	border-radius: 6px;
    font-size: 16px;
	color: #222222;
	padding: 4px; 
}

.form {
	text-align: center;
    margin: auto;
    min-width: 400px;
}

.form table {
    min-width: 250px;
    max-width: 600px;
    margin: auto;
}

.form td:nth-child(odd) { width: 160px; }

.navbar {
    background-color: #dddddd;
    color: #222222;
    padding: 3px 6px 4px 6px;
    border-radius: 6px;
    border: solid 1px #cccccc;
    box-shadow: 0px 0px 6px #bbbbbb;
    margin: 0 auto;
    width: fit-content;
}

.navbar a {
	color: #0080FF;
    transition: ease-in color .5s;
    -moz-transition: ease-in color .5s;
    -webkit-transition: ease-in color .5s;
    -o-transition: ease-in color .5s;
    cursor: pointer;
    text-decoration: none;
}

.navbar a:hover {
	color: #0099FF;
}

.text { font-size: 14px; }

@media only screen and (min-height: 2001px) { #msgs { height: 1700px; } }
@media only screen and (max-height: 2000px) { #msgs { height: 1600px; } }
@media only screen and (max-height: 1800px) { #msgs { height: 1400px; } }
@media only screen and (max-height: 1400px) { #msgs { height: 1050px; } }
@media only screen and (max-height: 1200px) { #msgs { height: 900px; } }
@media only screen and (max-height: 1000px) { #msgs { height: 700px; } }
@media only screen and (max-height: 900px) { #msgs { height: 600px; } }
@media only screen and (max-height: 800px) { #msgs { height: 500px; } }
@media only screen and (max-height: 700px) { #msgs { height: 400px; } }
@media only screen and (max-height: 600px) { #msgs { height: 400px; } }
@media only screen and (max-height: 500px) { #msgs { height: 400px; } }
@media only screen and (max-height: 400px) { #msgs { height: 400px; } }

#msg {
	height: 21px;
}

#msgbox { 
	max-width: 90%;
	padding: 8px; 
	height: 32px;
	margin: auto;
}

#msgs {
	padding: 5px;
	max-width: 90%;
	margin: auto;
    overflow-y: hidden;
}

#logmsgs {
    padding: 5px;
    max-width: 90%;
    margin: 0 auto;
    overflow-x: auto;
}

.clientcontain {
    padding: 0px 0px 0px 22px;
    margin: 0 auto;
}

#userlist {
    min-width: 110px;
    width: 110px;
    font-size: 14px;
    background-color: #b7b7b7;
    padding: 2px 5px 2px 5px;
    border-radius: 3px;
    border: solid 1px #cccccc;
    margin: 0;
    vertical-align: top;
}

#client {
    width: 100%;
    margin: 0;
}

#msgs tr:nth-child(even) { background-color: #bbbbbb; color: #000000; }
#msgs tr:nth-child(odd) { background-color: #b1b1b1; color: #000000; }
#msgs td:nth-child(even) { width: 80%; max-width: 950px; min-width: 320px; }
#msgs td:nth-child(odd) { width: 20%; min-width: 120px; max-width: 190px; }
#msgs td { padding: 0px 4px 0px 4px; border-radius: 3px; }

#logmsgs tr:nth-child(even) { background-color: #bbbbbb; color: #000000; }
#logmsgs tr:nth-child(odd) { background-color: #b1b1b1; color: #000000; }
#logmsgs td:nth-child(even) { width: 80%; max-width: 950px; min-width: 320px; }
#logmsgs td:nth-child(odd) { width: 20%; min-width: 120px; max-width: 190px; }
#logmsgs td { padding: 0px 4px 0px 4px; border-radius: 3px; }

#footer {
	text-align: center;
	font-size: 14px;
	padding: 8px;
}
